<table>
 
<% for list_item in @list_items %>
  <tr>
    <td><%=h list_item.display_name %></td>
     <td><%= list_item.ord %></td>
    <td><%= link_to_remote 'Edit', :url=>edit_lookuplist_list_item_path(@lookuplist,list_item),:update=>"lookuplistitem",:method=>:get%></td>
    <td><%= link_to_remote 'Destroy', :url=>lookuplist_list_item_path(@lookuplist,list_item), :confirm => 'Are you sure?', :method => :delete,:update=>"lookuplistitem" %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to_remote '添加该选项值', :url=>new_lookuplist_list_item_path(@lookuplist),:update=>"lookuplistitem",:method=>:get %>
